package no.sachmuld.methodcombination.examples.reflection.multipleinheritance;

import no.sachmuld.methodcombination.api.MethodInvocation;

/**
 *
 */
public class GraduateBehaviour extends PersonBehaviour {

    private String degree;

    public GraduateBehaviour(String degree) {
        this.degree = degree;
    }

    @Override
    public String toString(MethodInvocation<String> methodInvocation) {
        return methodInvocation.proceed() + " " + degree;
    }
}
